package com.yswy.domain.vo.gld.addOrUpate;

import com.yswy.domain.vo.gld.addOrUpate.base.BaseReqVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Api(tags = "添加渠道包")
@Data
public class PackageManageAddOrUpdate extends BaseReqVO {
    @NotNull(message = "ID不能为空", groups = {UPDATE.class , DElECT.class})
    private Long id;

    @ApiModelProperty("项目ID")
    @NotNull(message = "项目ID不能为空", groups = {CREATE.class})
    private Long projectId;

    @ApiModelProperty("系统平台")
    @NotEmpty(message = "系统平台不能为空", groups = {CREATE.class})
    private String xtPlatform;

    @ApiModelProperty("投放（上架）平台")
    @NotEmpty(message = "投放（上架）平台不能为空", groups = {CREATE.class})
    private String tfPlatform;

    @ApiModelProperty("渠道")
    @NotEmpty(message = "渠道 不能为空", groups = {CREATE.class})
    private String channel;

    @ApiModelProperty("备注")
    private String  appendInformation ;
}
